include "stdio.h"

int main (void)
{
int x1,x2,day=4;
x2=1;
while (day>1){
X1=(x2+1)*2;
x2=x1;
day--;
}
Printf ("%d\n",x1);
return 0;
}
